#删除索引
#/pro/v1/esInit/formDataMappingDelete
#建mapping
#/pro/v1/esInit/formDataMapping
#刷别名
#/pro/v1/esInit/addAlias
#同步数据
#/pro/v1/esInit/saasDataInit

#竞争对手建索引 by应剑锋
curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456","businessType":20200}'

#竞争对手刷别名 by应剑锋
curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","saasMark":1,"platform":"web","frontDev":"1","xbbCode":"123456","businessType":20200}'

#机会表单解释刷上竞争对手字段【可重复刷，也可指定公司刷】by应剑锋
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/addCompetitor -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","attr":"1","xbbCode":"123456","businessType":301,"pageSize":1000}'

#老公司刷上竞争对手菜单和表单【可重复刷，也可指定公司刷】】by应剑锋
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/competitor/initMenuAndForm -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","platform":"web","frontDev":"1","xbbCode":"123456"}'

#刷上默认corpid为0的公司竞争对手解释，新公司的需要测测 by应剑锋
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/competitor/initCompetitor -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","platform":"web","frontDev":"1","xbbCode":"123456","appId":0,"menuId":0,"corpid":"0","formId":0,"isAddExplain":0}'

#刷上默认corpid为0的公司竞争对手分析解释 by应剑锋
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/competitor/initCompetitorAnalysis -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","platform":"web","frontDev":"1","xbbCode":"123456","appId":0,"menuId":0,"corpid":"0","formId":0,"isAddExplain":0}'

#为所有公司新增竞争对手默认打印模版 by高杰
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/competitor/initPrintTemplate -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","platform":"web","frontDev":"1","xbbCode":"123456","appId":0,"menuId":0,"corpid":"0","formId":0,"isAddExplain":0}'

